package com.project.class9_1.two;

public class UserService {
//    private static UserService s = new UserService();
//    private UserService(){}
//    public static UserService getUserService(){
//        return s;
//    }

    private UserService(){}

    private static class UserIn{
        private static UserService s = new UserService();
    }
    public static UserService getUserService(){
        return UserIn.s;
    }
}
